package test3

import scala.collection.mutable.ListBuffer

object ListGaojie2 {
  def main(args: Array[String]): Unit = {
    var l =(1 to 10)
    var list=ListBuffer[Int]();
    l.foreach(x=>{
      list.append(x)
    })
    var l2=list.map(x=>{
      (x,x*100)
    });
    l2.foreach(x=>{
      println(x._1+",,,"+x._2)
    })

  }
}
